env: mmc: depends on the MMC framework
authorMaxime Ripard <[email protected]>
Tue, 23 Jan 2018 20:17:00 +0000 (21:17 +0100)
committerTom Rini <[email protected]>
Sat, 27 Jan 2018 14:21:57 +0000 (09:21 -0500)
The raw MMC environment directly calls into the MMC framework. Make sure
it's enabled before we can select it.

Reviewed-by: Simon Glass <[email protected]>
Signed-off-by: Maxime Ripard <[email protected]>
Reviewed-by: Jaehoon Chung <[email protected]>
env/Kconfig

index a24370786b69e2fb9e45ac88dcb2aabbb1922d89..796621055294a1af3d221c15091389a860c876dd 100644 (file)
@@ -161,6 +161,7 @@ config ENV_IS_IN_FLASH
 config ENV_IS_IN_MMC
        bool "Environment in an MMC device"
        depends on !CHAIN_OF_TRUST
+       depends on MMC
        help
          Define this if you have an MMC device which you want to use for the
          environment.